VERSION 5.00 Begin VB.Form Form2 BorderStyle = 1 'Fixed Single Caption = "Add a Link" ClientHeight = 1305 ClientLeft = 1740 ClientTop = 2670 ClientWidth = 5940 BeginProperty Font Name = "MS Sans Serif" Size = 8.25 Charset = 177 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty ForeColor = &H80000008& Icon = "LINK.frx":0000 LinkTopic = "Form2" MaxButton = 0 'False MinButton = 0 'False PaletteMode = 1 'UseZOrder ScaleHeight = 1305 ScaleWidth = 5940 Begin VB.CommandButton cancel BackColor = &H80000005& Caption = "Cancel" Height = 375 Left = 3480 TabIndex = 5 Top = 840 Width = 1935 End Begin VB.CommandButton ok BackColor = &H80000005& Caption = "OK" Default = -1 'True Height = 375 Left = 1200 TabIndex = 4 Top = 840 Width = 1935 End Begin VB.TextBox link Height = 285 Left = 1920 TabIndex = 3 Top = 480 Width = 3735 End Begin VB.TextBox address Height = 285 Left = 1920 TabIndex = 2 Text = "http://www." Top = 120 Width = 3735 End Begin VB.Label Label3 Appearance = 0 'Flat BackColor = &H80000005& Caption = "Label3" ForeColor = &H80000008& Height = 15 Left = 720 TabIndex = 6 Top = 720 Width = 15 End Begin VB.Label Label2 BackStyle = 0 'Transparent Caption = "Link text:" BeginProperty Font Name = "Arial" Size = 9.75 Charset = 177 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Left = 840 TabIndex = 1 Top = 480 Width = 975 End Begin VB.Label Label1 BackStyle = 0 'Transparent Caption = "Web Site address:" BeginProperty Font Name = "Arial" Size = 9.75 Charset = 177 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Left = 120 TabIndex = 0 Top = 120 Width = 1815 End End Attribute VB_Name = "Form2" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Sub cancel_Click() Unload Me End Sub Sub ok_Click() Form1.main.SelText = Form1.main.SelText + "" + link.Text + "" Form2.address.Text = "http://www." Form2.link.Text = "" Unload Me End Sub